/**
 * 设置localStorage
 */
export const setStorage = (key, value) => {
  return localStorage.setItem(key, JSON.stringify(value));
};

/**
 * 删除localStorage
 */
export const removeStorage = (key) => {
  return localStorage.removeItem(key);
};

/**
 * 查localStorage
 */
export const getStorage = (key) => {
  return localStorage.getItem(key);
};
